// 金融保险
const financeInsurance = {
  path: '/finance-insurance',
  component: 'Layout',
  redirect: '/financial-product-management',
  name: 'financeInsurance',
  meta: {
    title: '金融保险',
    icon: 'nested'
  },
  children: [
    {
      path: '/financial-rotation',
      component: '/finance-insurance/financial-rotation-management',
      redirect: '/financial-rotation-management',
      name: 'FinancialRotation',
      meta: { title: '轮播图管理', icon: 'nested' },
      children: [
        {
          path: '/financial-rotation-management',
          component: '/finance-insurance/financial-rotation-management',
          name: 'FinancialRotationManagement',
          meta: { title: '轮播图管理', barFlag: true }
        }
      ]
    },
    {
      path: '/financial-product-management',
      component: '/finance-insurance/financial-product-management',
      redirect: '/financial-sort-management',
      name: 'FinancialProductManagement',
      meta: { title: '金融产品', icon: 'nested' },
      children: [
        // {
        //   path: '/financial-sort-management',
        //   component: '/finance-insurance/financial-product-management/financial-sort-management',
        //   name: 'FinancialSortManagement',
        //   meta: { title: '金融分类管理', barFlag: true }
        // },
        // {
        //   path: '/financial-sort-management',
        //   component: () => import('@/views/finance-insurance/financial-product-management/financial-sort-management'),
        //   name: 'FinancialSortManagement',
        //   meta: { title: '金融分类管理', barFlag: true }
        // },
        {
          path: '/financial-info-management',
          component: '/finance-insurance/financial-product-management/financial-info-management',
          name: 'FinancialInfoManagement',
          meta: { title: '金融产品', barFlag: true }
        }
        // {
        //   path: '/prospective-buyer-management',
        //   component: () => import('@/views/finance-insurance/financial-product-management/prospective-buyer-management'),
        //   name: 'ProspectiveBuyerManagement',
        //   meta: { title: '意向购买用户', barFlag: true }
        // }
      ]
    },
    {
      path: '/financial-customer-management',
      component: '/finance-insurance/financial-customer-management',
      redirect: '/financial-customer-info',
      name: 'financialCustomerManagement',
      meta: { title: '金融客户信息', icon: 'nested' },
      children: [
        {
          path: '/financial-customer-info',
          component: '/finance-insurance/financial-customer-management/financial-customer-info/index',
          name: 'financialCustomerInfo',
          meta: { title: '金融客户信息', barFlag: true }
        }
      ]
    },
    {
      path: '/insurance-product-management',
      component: '/finance-insurance/insurance-product-management',
      redirect: '/insurance-info-management',
      name: 'insuranceProductManagement',
      meta: { title: '保险产品', icon: 'nested' },
      children: [
        // {
        //   path: '/insurance-sort-management',
        //   component: () => import('@/views/finance-insurance/insurance-product-management/insurance-sort-management'),
        //   name: 'InsuranceSortManagement',
        //   meta: { title: '保险分类管理', barFlag: true }
        // },
        {
          path: '/insurance-info-management',
          component: '/finance-insurance/insurance-product-management/insurance-info-management',
          name: 'InsuranceInfoManagement',
          meta: { title: '保险产品', barFlag: true }
        }
      ]
    },
    {
      path: '/insurance-customer-management',
      component: '/finance-insurance/insurance-customer-management',
      redirect: '/insurance-customer-info',
      name: 'insuranceCustomerManagement',
      meta: { title: '保险客户信息', icon: 'nested' },
      children: [
        {
          path: '/insurance-customer-info',
          component: '/finance-insurance/insurance-customer-management/insurance-customer-info',
          name: 'insuranceCustomerInfo',
          meta: { title: '保险客户信息', barFlag: true }
        }
      ]
    }
  ]
}
export default financeInsurance
